-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Custom Client Directives #583
Conversation
I added a new non-goal, which I thought could be a common misconception later:
Making this work ootb would be really tricky and I think it's better to leave the directives to handle this themselves if needed, since they should have a reference to the island element and |
Should we have a helper function called const directive = defineDirective((load, opts, el)) => {}) |
I've thought about it before, but then we'd have to export a new entrypoint ( But if we're in favour of it, I won't mind supporting that though. |
You raise a good point. We can leave my suggestion for now, and think about it later! Maybe we could merge all these |
I'm moving for a call for consensus on this RFC. Custom client directives has been in experimental since 2.5 without incident. No issues have been filed thus far and no feedback on the API. This will be the final comment period (3 days); if there are no objections this will be merged and the feature can move out of experimental in a future release (likely 2.6). |
It's been 3 days, this RFC is merged! |
Summary
Support custom
client:
directives added by integrationsLinks